home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / emacs_src_18_58.lha / emacs-18.58 / lisp / bytecomp.elc < prev    next >
Text File  |  1992-02-21  |  29KB  |  677 lines

  1.  
  2. (provide (quote byte-compile))
  3.  
  4. (defvar byte-compile-constnum -1 "\
  5. Transfer vector index of last constant allocated.")
  6.  
  7. (defvar byte-compile-constants nil "\
  8. Alist describing contents to put in transfer vector.
  9. Each element is (CONTENTS . INDEX)")
  10.  
  11. (defvar byte-compile-macro-environment nil "\
  12. Alist of (MACRONAME . DEFINITION) macros defined in the file
  13. which is being compiled.")
  14.  
  15. (defvar byte-compile-pc 0 "\
  16. Index in byte string to store next opcode at.")
  17.  
  18. (defvar byte-compile-output nil "\
  19. Alist describing contents to put in byte code string.
  20. Each element is (INDEX . VALUE)")
  21.  
  22. (defvar byte-compile-depth 0 "\
  23. Current depth of execution stack.")
  24.  
  25. (defvar byte-compile-maxdepth 0 "\
  26. Maximum depth of execution stack.")
  27.  
  28. (defconst byte-varref 8 "\
  29. Byte code opcode for variable reference.")
  30.  
  31. (defconst byte-varset 16 "\
  32. Byte code opcode for setting a variable.")
  33.  
  34. (defconst byte-varbind 24 "\
  35. Byte code opcode for binding a variable.")
  36.  
  37. (defconst byte-call 32 "\
  38. Byte code opcode for calling a function.")
  39.  
  40. (defconst byte-unbind 40 "\
  41. Byte code opcode for unbinding special bindings.")
  42.  
  43. (defconst byte-constant 192 "\
  44. Byte code opcode for reference to a constant.")
  45.  
  46. (defconst byte-constant-limit 64 "\
  47. Maximum index usable in  byte-constant  opcode.")
  48.  
  49. (defconst byte-constant2 129 "\
  50. Byte code opcode for reference to a constant with vector index >= 0100.")
  51.  
  52. (defconst byte-goto 130 "\
  53. Byte code opcode for unconditional jump")
  54.  
  55. (defconst byte-goto-if-nil 131 "\
  56. Byte code opcode for pop value and jump if it's nil.")
  57.  
  58. (defconst byte-goto-if-not-nil 132 "\
  59. Byte code opcode for pop value and jump if it's not nil.")
  60.  
  61. (defconst byte-goto-if-nil-else-pop 133 "\
  62. Byte code opcode for examine top-of-stack, jump and don't pop it if it's nil,
  63. otherwise pop it.")
  64.  
  65. (defconst byte-goto-if-not-nil-else-pop 134 "\
  66. Byte code opcode for examine top-of-stack, jump and don't pop it if it's not nil,
  67. otherwise pop it.")
  68.  
  69. (defconst byte-return 135 "\
  70. Byte code opcode for pop value and return it from byte code interpreter.")
  71.  
  72. (defconst byte-discard 136 "\
  73. Byte code opcode to discard one value from stack.")
  74.  
  75. (defconst byte-dup 137 "\
  76. Byte code opcode to duplicate the top of the stack.")
  77.  
  78. (defconst byte-save-excursion 138 "\
  79. Byte code opcode to make a binding to record the buffer, point and mark.")
  80.  
  81. (defconst byte-save-window-excursion 139 "\
  82. Byte code opcode to make a binding to record entire window configuration.")
  83.  
  84. (defconst byte-save-restriction 140 "\
  85. Byte code opcode to make a binding to record the current buffer clipping restrictions.")
  86.  
  87. (defconst byte-catch 141 "\
  88. Byte code opcode for catch.  Takes, on stack, the tag and an expression for the body.")
  89.  
  90. (defconst byte-unwind-protect 142 "\
  91. Byte code opcode for unwind-protect.  Takes, on stack, an expression for the body
  92. and an expression for the unwind-action.")
  93.  
  94. (defconst byte-condition-case 143 "\
  95. Byte code opcode for condition-case.  Takes, on stack, the variable to bind,
  96. an expression for the body, and a list of clauses.")
  97.  
  98. (defconst byte-temp-output-buffer-setup 144 "\
  99. Byte code opcode for entry to with-output-to-temp-buffer.
  100. Takes, on stack, the buffer name.
  101. Binds standard-output and does some other things.
  102. Returns with temp buffer on the stack in place of buffer name.")
  103.  
  104. (defconst byte-temp-output-buffer-show 145 "\
  105. Byte code opcode for exit from with-output-to-temp-buffer.
  106. Expects the temp buffer on the stack underneath value to return.
  107. Pops them both, then pushes the value back on.
  108. Unbinds standard-output and makes the temp buffer visible.")
  109.  
  110. (defconst byte-nth 56)
  111.  
  112. (defconst byte-symbolp 57)
  113.  
  114. (defconst byte-consp 58)
  115.  
  116. (defconst byte-stringp 59)
  117.  
  118. (defconst byte-listp 60)
  119.  
  120. (defconst byte-eq 61)
  121.  
  122. (defconst byte-memq 62)
  123.  
  124. (defconst byte-not 63)
  125.  
  126. (defconst byte-car 64)
  127.  
  128. (defconst byte-cdr 65)
  129.  
  130. (defconst byte-cons 66)
  131.  
  132. (defconst byte-list1 67)
  133.  
  134. (defconst byte-list2 68)
  135.  
  136. (defconst byte-list3 69)
  137.  
  138. (defconst byte-list4 70)
  139.  
  140. (defconst byte-length 71)
  141.  
  142. (defconst byte-aref 72)
  143.  
  144. (defconst byte-aset 73)
  145.  
  146. (defconst byte-symbol-value 74)
  147.  
  148. (defconst byte-symbol-function 75)
  149.  
  150. (defconst byte-set 76)
  151.  
  152. (defconst byte-fset 77)
  153.  
  154. (defconst byte-get 78)
  155.  
  156. (defconst byte-substring 79)
  157.  
  158. (defconst byte-concat2 80)
  159.  
  160. (defconst byte-concat3 81)
  161.  
  162. (defconst byte-concat4 82)
  163.  
  164. (defconst byte-sub1 83)
  165.  
  166. (defconst byte-add1 84)
  167.  
  168. (defconst byte-eqlsign 85)
  169.  
  170. (defconst byte-gtr 86)
  171.  
  172. (defconst byte-lss 87)
  173.  
  174. (defconst byte-leq 88)
  175.  
  176. (defconst byte-geq 89)
  177.  
  178. (defconst byte-diff 90)
  179.  
  180. (defconst byte-negate 91)
  181.  
  182. (defconst byte-plus 92)
  183.  
  184. (defconst byte-max 93)
  185.  
  186. (defconst byte-min 94)
  187.  
  188. (defconst byte-point 96)
  189.  
  190. (defconst byte-goto-char 98)
  191.  
  192. (defconst byte-insert 99)
  193.  
  194. (defconst byte-point-max 100)
  195.  
  196. (defconst byte-point-min 101)
  197.  
  198. (defconst byte-char-after 102)
  199.  
  200. (defconst byte-following-char 103)
  201.  
  202. (defconst byte-preceding-char 104)
  203.  
  204. (defconst byte-current-column 105)
  205.  
  206. (defconst byte-indent-to 106)
  207.  
  208. (defconst byte-eolp 108)
  209.  
  210. (defconst byte-eobp 109)
  211.  
  212. (defconst byte-bolp 110)
  213.  
  214. (defconst byte-bobp 111)
  215.  
  216. (defconst byte-current-buffer 112)
  217.  
  218. (defconst byte-set-buffer 113)
  219.  
  220. (defconst byte-read-char 114)
  221.  
  222. (defconst byte-interactive-p 116)
  223.  
  224. (defun byte-recompile-directory (directory &optional arg) "\
  225. Recompile every .el file in DIRECTORY that needs recompilation.
  226. This is if a .elc file exists but is older than the .el file.
  227. If the .elc file does not exist, offer to compile the .el file
  228. only if a prefix argument has been specified." (interactive "DByte recompile directory: 
  229. P") (byte-code "ˆǠˆÈ!‰ˆÉÂÊ#Ë    …cÌ    @!?…OÈ    @\"‰…OÍ !ÎP‰…OÏ!ƒDÐ \"‚O…OÑÒ ÓQ!…ZÔ !ˆ T‰ˆ    A‰ˆ‚ˆÕÖ ×Uƒq؂rÙ#,‡" [directory files nil count source dest arg save-some-buffers expand-file-name directory-files "\\.el\\'" 0 auto-save-file-name-p file-name-sans-versions "c" file-exists-p file-newer-than-file-p y-or-n-p "Compile " "? " byte-compile-file message "Done (Total of %d file%s compiled)" 1 "" "s"] 15))
  230.  
  231. (defun byte-compile-file (filename) "\
  232. Compile a file of Lisp code named FILENAME into a file of byte code.
  233. The output file's name is made by appending \"c\" to the end of FILENAME." (interactive "fByte compile file: ") (byte-code "ĈË!‰ˆÌÍ\"ˆÎÏ!ÎÐ!ÄÄÄŠ    qˆÑ ˆÒ!ˆÓbˆ
  234. qˆÄÔ )ˆÑ ˆŠ    qˆÕÖ!ˆ×Ø!…LÙÓ!ˆ‚;ˆm?)…eÚ    !‰ˆÛÜ!
  235. \"ˆ‚7ˆ
  236. qˆÓbˆÝÞÄÈ#…’×ß!…Žàá!ˆÕâ!ˆ×ã!…ŽäÓ!ˆåcˆ‚lˆÓbˆÝÞÄÈ#…Ð×æ!…Ì`S    Äç菅ËÕâ!ˆ    Šé ˆ`)=…Ë×ã!…ËäÓ!ˆåc)ˆ‚–ˆÈ
  237. êÓdë!ìP#)ˆíp!ˆí    !)-ˆÈ‡" [filename inbuffer outbuffer byte-compile-macro-environment nil case-fold-search sexp emacs-lisp-mode-hook t this-line vms-stmlf-recfm expand-file-name message "Compiling %s..." get-buffer-create " *Compiler Input*" " *Compiler Output*" erase-buffer insert-file-contents 1 emacs-lisp-mode skip-chars-forward "     
  238. " looking-at ";" forward-line read print byte-compile-file-form search-forward "
  239. (" "defun \\|autoload " forward-sexp 3 " " "\"" forward-char "\\
  240. " "defvar \\|defconst " (byte-code "ÁÂ!ˆÀ‡" [t forward-sexp 3] 2) ((error (byte-code "À‡" [nil] 1))) beginning-of-line write-region file-name-sans-versions "c" kill-buffer] 32))
  241.  
  242. (defun byte-compile-file-form (form) (byte-code "<?ƒ
  243. ‚”@È>ƒ„A@É     \"@Ê=ƒ_ËÌ Í8#ˆ
  244. ƒ4Î
  245. Å\"‚JÏ    !…@Р   K!Ñ=…J    ÅB B‰ˆÊÒA!B?…[ËÓ \"ˆ‚€
  246. ƒnÎ
  247. ÔAAB\"‚y    ÔAABB B‰ˆÕÒA!B*‚”@Ö=ƒ“×!ˆ‚”‡" [form name tem byte-compile-macro-environment filename nil noninteractive t (defun defmacro) assq defun message "Compiling %s (%s)..." 1 setcdr fboundp car-safe macro byte-compile-lambda "Compiling %s..." lambda defmacro require eval] 11))
  248.  
  249. (defun byte-compile (funname) "\
  250. Byte-compile the definition of function FUNNAME (a symbol)." (byte-code "Á!… ÂK!Ã=…ÄK!M‡" [funname fboundp car-safe lambda byte-compile-lambda] 5))
  251.  
  252. (defun byte-compile-lambda (fun) (byte-code "    AÄÅA\"ÆAA…A@;…A‰ˆÇÈAB!C‰ˆ
  253. …H
  254. A@;†6
  255. A@?ƒ=
  256. ‚DÅÇ
  257. A@!D B‰ˆ    A=?…XÉ    8 B‰ˆ    @    A@ BB+‡" [bodyptr fun int newbody assq interactive nil byte-compile-top-level progn 2] 6))
  258.  
  259. (defun byte-compile-top-level (form) (byte-code "ÁÁÍÍÍÁÁÁÁÁÎ 
  260.     Ï !‰
  261. ˆ
  262. @‰ ˆÐ
  263. A!‰    ˆ    …U T‰ ˆ    @ BB‰ˆ    A‰    ˆ‚4ˆ ‰+ˆÑ !ˆÒÓÍ\"ˆÔ
  264. TÁ\"‰ˆ……@A@@IˆA‰ˆ‚oˆÕ Í\"‰ˆ…©@@@AIˆA‰ˆ‚ŽˆÖF.‡" [byte-compile-constants nil byte-compile-constnum byte-compile-pc byte-compile-depth byte-compile-maxdepth byte-compile-output byte-compile-string byte-compile-vector vars temp i form 0 -1 byte-compile-find-vars nreverse byte-compile-form byte-compile-out byte-return make-vector make-string byte-code] 10))
  265.  
  266. (defun byte-compile-find-vars (form) (byte-code "ÁÃ
  267. !B)‡" [all-vars nil form byte-compile-find-vars-1] 3))
  268.  
  269. (defun byte-compile-find-vars-1 (form) (byte-code "9ƒ    >?…    B‰ˆ‚ :?† @È=ƒ'‚ @É>ƒÊA@!AA
  270.  …‚ @9ƒU @    >?…R @    B‰‚y @:…y @@    >?…k @@    B‰ˆË @@Ì @A@!D\"ˆ A‰ˆ‚:ˆ@
  271. ÍÌ \"BB+‚ @Î=†›@Ï=ƒ¢‚ @Ð=ƒ¸ÐÌÑ8!ÒÓ\"BB‚ @Ô=ƒãÊA! …ÛË ÍÌ @\"\"ˆ A‰ˆ‚ƈÔB*‚ Õ\"‰=?ƒöÌ!‚ @9ƒ@ÍÌA\"B‚ ÍÌ\"‡" [form all-vars binds body tail clauses byte-compile-macro-environment t quote (let let*) copy-sequence setcar byte-compile-find-vars-1 mapcar function condition-case catch 1 nthcdr 2 cond macroexpand] 15))
  272.  
  273. (defun byte-compile-form (form) (byte-code "É    \"‰ˆÊ=ƒË!‚˜Å=ƒË!‚˜9ƒ+ÌÍ\"‚˜:?ƒ7Ë!‚˜@9?ƒÎ@!Ï=ƒ{Ð@8AÊ
  274. …j
  275. @ @D B‰ˆ
  276. A A‰ˆ‚QˆÑÒÓ !@AABB!+‚~Ô!‚˜@ÕNƒ”Ö\"‚—Ô!)ˆT‰]‰‡" [form byte-compile-macro-environment vars vals result t handler byte-compile-maxdepth byte-compile-depth macroexpand nil byte-compile-constant byte-compile-variable-ref byte-varref car-safe lambda 1 byte-compile-form let nreverse byte-compile-normal-call byte-compile funcall] 14))
  277.  
  278. (defun byte-compile-normal-call (form) (byte-code "Ã@!ˆA    …Ä    @!ˆ    A‰ˆ‚)ˆÅÆAG\"ˆ
  279. AGZ‰‡" [form copy byte-compile-depth byte-compile-push-constant byte-compile-form byte-compile-out byte-call] 5))
  280.  
  281. (defun byte-compile-variable-ref (base-op var) (byte-code "Ä    
  282. \"ƒÅ A\"‚ÆÇÈÉ    !\"!)‡" [data var byte-compile-constants base-op assq byte-compile-out error format "Variable %s seen on pass 2 of byte compiler but not pass 1" prin1-to-string] 7))
  283.  
  284. (defun byte-compile-constant (const) (byte-code "    ;ƒ Ä    
  285. \"‚Å    
  286. \"ƒÆA!‚*     T‰B
  287. B‰ˆÆ !)‡" [data const byte-compile-constants byte-compile-constnum assoc assq byte-compile-out-const] 6))
  288.  
  289. (defun byte-compile-push-constant (const) (byte-code "Ã!ˆ    
  290. T‰]‰‡" [const byte-compile-maxdepth byte-compile-depth byte-compile-constant] 4))
  291.  
  292. (put (quote point) (quote byte-compile) (quote byte-compile-no-args))
  293.  
  294. (put (quote point) (quote byte-opcode) (quote byte-point))
  295.  
  296. (put (quote dot) (quote byte-compile) (quote byte-compile-no-args))
  297.  
  298. (put (quote dot) (quote byte-opcode) (quote byte-point))
  299.  
  300. (put (quote point-max) (quote byte-compile) (quote byte-compile-no-args))
  301.  
  302. (put (quote point-max) (quote byte-opcode) (quote byte-point-max))
  303.  
  304. (put (quote point-min) (quote byte-compile) (quote byte-compile-no-args))
  305.  
  306. (put (quote point-min) (quote byte-opcode) (quote byte-point-min))
  307.  
  308. (put (quote dot-max) (quote byte-compile) (quote byte-compile-no-args))
  309.  
  310. (put (quote dot-max) (quote byte-opcode) (quote byte-point-max))
  311.  
  312. (put (quote dot-min) (quote byte-compile) (quote byte-compile-no-args))
  313.  
  314. (put (quote dot-min) (quote byte-opcode) (quote byte-point-min))
  315.  
  316. (put (quote following-char) (quote byte-compile) (quote byte-compile-no-args))
  317.  
  318. (put (quote following-char) (quote byte-opcode) (quote byte-following-char))
  319.  
  320. (put (quote preceding-char) (quote byte-compile) (quote byte-compile-no-args))
  321.  
  322. (put (quote preceding-char) (quote byte-opcode) (quote byte-preceding-char))
  323.  
  324. (put (quote current-column) (quote byte-compile) (quote byte-compile-no-args))
  325.  
  326. (put (quote current-column) (quote byte-opcode) (quote byte-current-column))
  327.  
  328. (put (quote eolp) (quote byte-compile) (quote byte-compile-no-args))
  329.  
  330. (put (quote eolp) (quote byte-opcode) (quote byte-eolp))
  331.  
  332. (put (quote eobp) (quote byte-compile) (quote byte-compile-no-args))
  333.  
  334. (put (quote eobp) (quote byte-opcode) (quote byte-eobp))
  335.  
  336. (put (quote bolp) (quote byte-compile) (quote byte-compile-no-args))
  337.  
  338. (put (quote bolp) (quote byte-opcode) (quote byte-bolp))
  339.  
  340. (put (quote bobp) (quote byte-compile) (quote byte-compile-no-args))
  341.  
  342. (put (quote bobp) (quote byte-opcode) (quote byte-bobp))
  343.  
  344. (put (quote current-buffer) (quote byte-compile) (quote byte-compile-no-args))
  345.  
  346. (put (quote current-buffer) (quote byte-opcode) (quote byte-current-buffer))
  347.  
  348. (put (quote read-char) (quote byte-compile) (quote byte-compile-no-args))
  349.  
  350. (put (quote read-char) (quote byte-opcode) (quote byte-read-char))
  351.  
  352. (put (quote symbolp) (quote byte-compile) (quote byte-compile-one-arg))
  353.  
  354. (put (quote symbolp) (quote byte-opcode) (quote byte-symbolp))
  355.  
  356. (put (quote consp) (quote byte-compile) (quote byte-compile-one-arg))
  357.  
  358. (put (quote consp) (quote byte-opcode) (quote byte-consp))
  359.  
  360. (put (quote stringp) (quote byte-compile) (quote byte-compile-one-arg))
  361.  
  362. (put (quote stringp) (quote byte-opcode) (quote byte-stringp))
  363.  
  364. (put (quote listp) (quote byte-compile) (quote byte-compile-one-arg))
  365.  
  366. (put (quote listp) (quote byte-opcode) (quote byte-listp))
  367.  
  368. (put (quote not) (quote byte-compile) (quote byte-compile-one-arg))
  369.  
  370. (put (quote not) (quote byte-opcode) (quote byte-not))
  371.  
  372. (put (quote null) (quote byte-compile) (quote byte-compile-one-arg))
  373.  
  374. (put (quote null) (quote byte-opcode) (quote byte-not))
  375.  
  376. (put (quote car) (quote byte-compile) (quote byte-compile-one-arg))
  377.  
  378. (put (quote car) (quote byte-opcode) (quote byte-car))
  379.  
  380. (put (quote cdr) (quote byte-compile) (quote byte-compile-one-arg))
  381.  
  382. (put (quote cdr) (quote byte-opcode) (quote byte-cdr))
  383.  
  384. (put (quote length) (quote byte-compile) (quote byte-compile-one-arg))
  385.  
  386. (put (quote length) (quote byte-opcode) (quote byte-length))
  387.  
  388. (put (quote symbol-value) (quote byte-compile) (quote byte-compile-one-arg))
  389.  
  390. (put (quote symbol-value) (quote byte-opcode) (quote byte-symbol-value))
  391.  
  392. (put (quote symbol-function) (quote byte-compile) (quote byte-compile-one-arg))
  393.  
  394. (put (quote symbol-function) (quote byte-opcode) (quote byte-symbol-function))
  395.  
  396. (put (quote 1+) (quote byte-compile) (quote byte-compile-one-arg))
  397.  
  398. (put (quote 1+) (quote byte-opcode) (quote byte-add1))
  399.  
  400. (put (quote 1-) (quote byte-compile) (quote byte-compile-one-arg))
  401.  
  402. (put (quote 1-) (quote byte-opcode) (quote byte-sub1))
  403.  
  404. (put (quote goto-char) (quote byte-compile) (quote byte-compile-one-arg))
  405.  
  406. (put (quote goto-char) (quote byte-opcode) (quote byte-goto-char))
  407.  
  408. (put (quote char-after) (quote byte-compile) (quote byte-compile-one-arg))
  409.  
  410. (put (quote char-after) (quote byte-opcode) (quote byte-char-after))
  411.  
  412. (put (quote set-buffer) (quote byte-compile) (quote byte-compile-one-arg))
  413.  
  414. (put (quote set-buffer) (quote byte-opcode) (quote byte-set-buffer))
  415.  
  416. (put (quote eq) (quote byte-compile) (quote byte-compile-two-args))
  417.  
  418. (put (quote eq) (quote byte-opcode) (quote byte-eq))
  419.  
  420. (put (quote eql) (quote byte-compile) (quote byte-compile-two-args))
  421.  
  422. (put (quote eql) (quote byte-opcode) (quote byte-eq))
  423.  
  424. (put (quote memq) (quote byte-compile) (quote byte-compile-two-args))
  425.  
  426. (put (quote memq) (quote byte-opcode) (quote byte-memq))
  427.  
  428. (put (quote cons) (quote byte-compile) (quote byte-compile-two-args))
  429.  
  430. (put (quote cons) (quote byte-opcode) (quote byte-cons))
  431.  
  432. (put (quote aref) (quote byte-compile) (quote byte-compile-two-args))
  433.  
  434. (put (quote aref) (quote byte-opcode) (quote byte-aref))
  435.  
  436. (put (quote set) (quote byte-compile) (quote byte-compile-two-args))
  437.  
  438. (put (quote set) (quote byte-opcode) (quote byte-set))
  439.  
  440. (put (quote fset) (quote byte-compile) (quote byte-compile-two-args))
  441.  
  442. (put (quote fset) (quote byte-opcode) (quote byte-fset))
  443.  
  444. (put (quote =) (quote byte-compile) (quote byte-compile-two-args))
  445.  
  446. (put (quote =) (quote byte-opcode) (quote byte-eqlsign))
  447.  
  448. (put (quote <) (quote byte-compile) (quote byte-compile-two-args))
  449.  
  450. (put (quote <) (quote byte-opcode) (quote byte-lss))
  451.  
  452. (put (quote >) (quote byte-compile) (quote byte-compile-two-args))
  453.  
  454. (put (quote >) (quote byte-opcode) (quote byte-gtr))
  455.  
  456. (put (quote <=) (quote byte-compile) (quote byte-compile-two-args))
  457.  
  458. (put (quote <=) (quote byte-opcode) (quote byte-leq))
  459.  
  460. (put (quote >=) (quote byte-compile) (quote byte-compile-two-args))
  461.  
  462. (put (quote >=) (quote byte-opcode) (quote byte-geq))
  463.  
  464. (put (quote get) (quote byte-compile) (quote byte-compile-two-args))
  465.  
  466. (put (quote get) (quote byte-opcode) (quote byte-get))
  467.  
  468. (put (quote nth) (quote byte-compile) (quote byte-compile-two-args))
  469.  
  470. (put (quote nth) (quote byte-opcode) (quote byte-nth))
  471.  
  472. (put (quote aset) (quote byte-compile) (quote byte-compile-three-args))
  473.  
  474. (put (quote aset) (quote byte-opcode) (quote byte-aset))
  475.  
  476. (defun byte-compile-no-args (form) (byte-code "ÁGÂ\"ƒÃ!‚Ä@ÅNJÆ\"‡" [form /= 1 byte-compile-normal-call byte-compile-out byte-opcode 0] 5))
  477.  
  478. (defun byte-compile-one-arg (form) (byte-code "ÂGÃ\"ƒÄ!‚!ÅA@!ˆ    S‰ˆÆ@ÇNJÈ\"‡" [form byte-compile-depth /= 2 byte-compile-normal-call byte-compile-form byte-compile-out byte-opcode 0] 6))
  479.  
  480. (defun byte-compile-two-args (form) (byte-code "ÂGÃ\"ƒÄ!‚(ÅA@!ˆÅÆ8!ˆ    ÆZ‰ˆÇ@ÈNJÉ\"‡" [form byte-compile-depth /= 3 byte-compile-normal-call byte-compile-form 2 byte-compile-out byte-opcode 0] 7))
  481.  
  482. (defun byte-compile-three-args (form) (byte-code "ÂGÃ\"ƒÄ!‚.ÅA@!ˆÅÆ8!ˆÅÇ8!ˆ    ÇZ‰ˆÈ@ÉNJÊ\"‡" [form byte-compile-depth /= 4 byte-compile-normal-call byte-compile-form 2 3 byte-compile-out byte-opcode 0] 8))
  483.  
  484. (put (quote substring) (quote byte-compile) (quote byte-compile-substring))
  485.  
  486. (defun byte-compile-substring (form) (byte-code "GÃV† GÄWƒÅ!‚8ÆÇ8!ˆÆÄ8†\"È!ˆÆÉ8†,Ê!ˆ    ÉZ‰ˆË
  487. Ì\"‡" [form byte-compile-depth byte-substring 4 2 byte-compile-normal-call byte-compile-form 1 (quote nil) 3 (quote nil) byte-compile-out 0] 7))
  488.  
  489. (put (quote interactive-p) (quote byte-compile) (quote byte-compile-interactive-p))
  490.  
  491. (defun byte-compile-interactive-p (form) (byte-code "ÁÂ\"‡" [byte-interactive-p byte-compile-out 0] 3))
  492.  
  493. (put (quote list) (quote byte-compile) (quote byte-compile-list))
  494.  
  495. (defun byte-compile-list (form) (byte-code "    GÅUƒÆÂ!‚AÇWƒ>    A …)È @!ˆ A‰ˆ‚ˆ SZ‰ˆÉÊZË8JÌ\")‚AÍ    !)‡" [len form nil args byte-compile-depth 1 byte-compile-constant 6 byte-compile-form byte-compile-out 2 (byte-list1 byte-list2 byte-list3 byte-list4) 0 byte-compile-normal-call] 5))
  496.  
  497. (put (quote concat) (quote byte-compile) (quote byte-compile-concat))
  498.  
  499. (defun byte-compile-concat (form) (byte-code "    GÅUƒÆÇ!‚MÈUƒÉ    !‚MÊWƒJ    A
  500. …5Æ
  501. @!ˆ
  502. A‰ˆ‚$ˆ SZ‰ˆËÌZÍ8JÎ\")‚MÉ    !)‡" [len form args byte-compile-depth t 1 byte-compile-form "" 2 byte-compile-normal-call 6 byte-compile-out 3 (byte-concat2 byte-concat3 byte-concat4) 0] 6))
  503.  
  504. (put (quote -) (quote byte-compile) (quote byte-compile-minus))
  505.  
  506. (defun byte-compile-minus (form) (byte-code "    GÆUƒÇ    A@!ˆ
  507. ÈZ‰ˆÉ Ê\"‚>ËUƒ;Ç    A@!ˆÇÆ    8!ˆ
  508. ÆZ‰ˆÉ Ê\"‚>Ì    !)‡" [len form byte-compile-depth byte-negate byte-diff t 2 byte-compile-form 1 byte-compile-out 0 3 byte-compile-normal-call] 7))
  509.  
  510. (put (quote +) (quote byte-compile) (quote byte-compile-maybe-two-args))
  511.  
  512. (put (quote +) (quote byte-opcode) (quote byte-plus))
  513.  
  514. (put (quote max) (quote byte-compile) (quote byte-compile-maybe-two-args))
  515.  
  516. (put (quote max) (quote byte-opcode) (quote byte-max))
  517.  
  518. (put (quote min) (quote byte-compile) (quote byte-compile-maybe-two-args))
  519.  
  520. (put (quote min) (quote byte-opcode) (quote byte-min))
  521.  
  522. (defun byte-compile-maybe-two-args (form) (byte-code "    GÃUƒ&Ä    A@!ˆÄÅ    8!ˆ
  523. ÅZ‰ˆÆ    @ÇNJÈ\"‚)É    !)‡" [len form byte-compile-depth 3 byte-compile-form 2 byte-compile-out byte-opcode 0 byte-compile-normal-call] 5))
  524.  
  525. (put (quote function) (quote byte-compile) (quote byte-compile-function-form))
  526.  
  527. (defun byte-compile-function-form (form) (byte-code "A@9ƒÂÃÄÅ8DD!‚ÆÇA@!!‡" [form t byte-compile-form symbol-function quote 1 byte-compile-constant byte-compile-lambda] 5))
  528.  
  529. (put (quote indent-to) (quote byte-compile) (quote byte-compile-indent-to))
  530.  
  531. (defun byte-compile-indent-to (form) (byte-code "    GÄUƒÅ    A@!ˆ
  532. ÆZ‰ˆÇ È\"‚É    !)‡" [len form byte-compile-depth byte-indent-to 2 byte-compile-form 1 byte-compile-out 0 byte-compile-normal-call] 4))
  533.  
  534. (put (quote insert) (quote byte-compile) (quote byte-compile-insert))
  535.  
  536. (defun byte-compile-insert (form) (byte-code "    GÅWƒ,    A
  537. …(Æ
  538. @!ˆ ÇZ‰ˆÈ É\"ˆ
  539. A‰ˆ‚ )‚/Ê    !)‡" [len form args byte-compile-depth byte-insert 3 byte-compile-form 1 byte-compile-out 0 byte-compile-normal-call] 5))
  540.  
  541. (put (quote setq-default) (quote byte-compile) (quote byte-compile-setq-default))
  542.  
  543. (defun byte-compile-setq-default (form) (byte-code "ÁÂÃÄ8DÅÆ\"BB!‡" [form byte-compile-form set-default quote 1 nthcdr 2] 6))
  544.  
  545. (put (quote quote) (quote byte-compile) (quote byte-compile-quote))
  546.  
  547. (defun byte-compile-quote (form) (byte-code "ÁA@!‡" [form byte-compile-constant] 2))
  548.  
  549. (put (quote setq) (quote byte-compile) (quote byte-compile-setq))
  550.  
  551. (defun byte-compile-setq (form) (byte-code "    Aƒ;…8ÅA@!ˆAA?…#ÆÇÈ\"ˆ
  552. T]‰ˆ S‰ˆÉÊ@\"ˆAA‰ˆ‚‚>ËÄ!)‡" [args form byte-compile-maxdepth byte-compile-depth nil byte-compile-form byte-compile-out byte-dup 0 byte-compile-variable-ref byte-varset byte-compile-constant] 6))
  553.  
  554. (put (quote let) (quote byte-compile) (quote byte-compile-let))
  555.  
  556. (defun byte-compile-let (form) (byte-code "    A@…#@9ƒÄÂ!‚Å@A@!ˆA‰ˆ‚)ˆÆ    A@! GZ‰ˆ…S@9ƒDÇÈ@\"‚JÇÈ@@\"ˆA‰ˆ‚2)ˆÉ    AA!ˆÊË    A@G\"‡" [varlist form nil byte-compile-depth byte-compile-push-constant byte-compile-form reverse byte-compile-variable-ref byte-varbind byte-compile-body byte-compile-out byte-unbind] 9))
  557.  
  558. (put (quote let*) (quote byte-compile) (quote byte-compile-let*))
  559.  
  560. (defun byte-compile-let* (form) (byte-code "    A@…=@9ƒÄÂ!‚Å@A@!ˆ S‰ˆ@9ƒ.ÆÇ@\"‚4ÆÇ@@\"ˆA‰ˆ‚)ˆÈ    AA!ˆÉÊ    A@G\"‡" [varlist form nil byte-compile-depth byte-compile-push-constant byte-compile-form byte-compile-variable-ref byte-varbind byte-compile-body byte-compile-out byte-unbind] 8))
  561.  
  562. (put (quote save-excursion) (quote byte-compile) (quote byte-compile-save-excursion))
  563.  
  564. (defun byte-compile-save-excursion (form) (byte-code "ÁÂÃ\"ˆÄA!ˆÁÅÆ\"‡" [form byte-compile-out byte-save-excursion 0 byte-compile-body byte-unbind 1] 5))
  565.  
  566. (put (quote save-restriction) (quote byte-compile) (quote byte-compile-save-restriction))
  567.  
  568. (defun byte-compile-save-restriction (form) (byte-code "ÁÂÃ\"ˆÄA!ˆÁÅÆ\"‡" [form byte-compile-out byte-save-restriction 0 byte-compile-body byte-unbind 1] 5))
  569.  
  570. (put (quote with-output-to-temp-buffer) (quote byte-compile) (quote byte-compile-with-output-to-temp-buffer))
  571.  
  572. (defun byte-compile-with-output-to-temp-buffer (form) (byte-code "ÂA@!ˆÃÄÅ\"ˆÆAA!ˆÃÇÅ\"ˆ    S‰‡" [form byte-compile-depth byte-compile-form byte-compile-out byte-temp-output-buffer-setup 0 byte-compile-body byte-temp-output-buffer-show] 6))
  573.  
  574. (put (quote progn) (quote byte-compile) (quote byte-compile-progn))
  575.  
  576. (defun byte-compile-progn (form) (byte-code "ÁA!‡" [form byte-compile-body] 2))
  577.  
  578. (put (quote interactive) (quote byte-compile) (quote byte-compile-noop))
  579.  
  580. (defun byte-compile-noop (form) (byte-code "ÁÀ!‡" [nil byte-compile-constant] 2))
  581.  
  582. (defun byte-compile-body (body) (byte-code "?ƒ ÃÁ!‚+…+Ä@!ˆAƒÅ ‚\"
  583. S‰ˆA‰ˆ‚ ‡" [body nil byte-compile-depth byte-compile-constant byte-compile-form byte-compile-discard] 6))
  584.  
  585. (put (quote prog1) (quote byte-compile) (quote byte-compile-prog1))
  586.  
  587. (defun byte-compile-prog1 (form) (byte-code "ÁA@!ˆAA…ÂAA!ˆÃ ‡" [form byte-compile-form byte-compile-body byte-compile-discard] 4))
  588.  
  589. (put (quote prog2) (quote byte-compile) (quote byte-compile-prog2))
  590.  
  591. (defun byte-compile-prog2 (form) (byte-code "ÁA@!ˆÂ ˆÁÃ8!ˆAAA…ÄAAA!ˆÂ ‡" [form byte-compile-form byte-compile-discard 2 byte-compile-body] 6))
  592.  
  593. (defun byte-compile-discard nil (byte-code "ÁÂÃ\"ˆS‰‡" [byte-compile-depth byte-compile-out byte-discard 0] 3))
  594.  
  595. (put (quote if) (quote byte-compile) (quote byte-compile-if))
  596.  
  597. (defun byte-compile-if (form) (byte-code "ÄÅ\"?ƒ-Æ ÇA@!ˆÈÉ    \"ˆ
  598. S‰ˆÇÊ8!ˆ
  599. S‰ˆË    !)‚bÆ Æ ÇA@!ˆÈÌ \"ˆ
  600. S‰ˆÇÊ8!ˆ
  601. S‰ˆÈÍ    \"ˆË !ˆÎAAA!ˆË    !*‡" [form donetag byte-compile-depth elsetag nthcdr 3 byte-compile-make-tag byte-compile-form byte-compile-goto byte-goto-if-nil-else-pop 2 byte-compile-out-tag byte-goto-if-nil byte-goto byte-compile-body] 16))
  602.  
  603. (put (quote cond) (quote byte-compile) (quote byte-compile-cond))
  604.  
  605. (defun byte-compile-cond (form) (byte-code "Aƒ ÂA!‚ÃÁ!‡" [form nil byte-compile-cond-1 byte-compile-constant] 3))
  606.  
  607. (defun byte-compile-cond-1 (clauses) (byte-code "@@Á=†Å@@!Æ=…ÅÇ@@!!ƒ2@Aƒ*È@A!‚/É@@!‚ŸA?ƒ^Ê É@@!ˆ@A…ZËÌ
  608. \"ˆ S‰ˆÈ@A!ˆÍ
  609. !)‚ŸÊ Ê É@@!ˆ@A?ƒ}ËÎ
  610. \"ˆ S‰‚•ËÏ \"ˆ S‰ˆÈ@A!ˆËÐ
  611. \"ˆÍ !ˆÑA!ˆÍ
  612. !*‡" [clauses t donetag byte-compile-depth elsetag car-safe quote cdr-safe byte-compile-body byte-compile-form byte-compile-make-tag byte-compile-goto byte-goto-if-nil-else-pop byte-compile-out-tag byte-goto-if-not-nil-else-pop byte-goto-if-nil byte-goto byte-compile-cond-1] 21))
  613.  
  614. (put (quote and) (quote byte-compile) (quote byte-compile-and))
  615.  
  616. (defun byte-compile-and (form) (byte-code "Å 
  617. A    ?ƒÆÃ!ˆ S‰‚=    …=Æ    @!ˆ S‰ˆ    A?ƒ0Ç!‚4ÈÉ\"ˆ    A‰ˆ‚*‡" [failtag args form t byte-compile-depth byte-compile-make-tag byte-compile-form byte-compile-out-tag byte-compile-goto byte-goto-if-nil-else-pop] 8))
  618.  
  619. (put (quote or) (quote byte-compile) (quote byte-compile-or))
  620.  
  621. (defun byte-compile-or (form) (byte-code "Å 
  622. A    ?ƒÆÃ!‚8    …8Ç    @!ˆ S‰ˆ    A?ƒ+È!‚/ÉÊ\"ˆ    A‰ˆ‚*‡" [wintag args form nil byte-compile-depth byte-compile-make-tag byte-compile-constant byte-compile-form byte-compile-out-tag byte-compile-goto byte-goto-if-not-nil-else-pop] 8))
  623.  
  624. (put (quote while) (quote byte-compile) (quote byte-compile-while))
  625.  
  626. (defun byte-compile-while (form) (byte-code "Ä Ä  AAÅ    !ˆÆ A@!ˆÇÈ\"ˆÉ AA!ˆÊ ˆÇË    \"ˆÅ!+‡" [endtag looptag args form byte-compile-make-tag byte-compile-out-tag byte-compile-form byte-compile-goto byte-goto-if-nil-else-pop byte-compile-body byte-compile-discard byte-goto] 10))
  627.  
  628. (put (quote catch) (quote byte-compile) (quote byte-compile-catch))
  629.  
  630. (defun byte-compile-catch (form) (byte-code "ÂA@!ˆÃÄÅAAB!!ˆ    ÆZ‰ˆÇÈÉ\"‡" [form byte-compile-depth byte-compile-form byte-compile-push-constant byte-compile-top-level progn 2 byte-compile-out byte-catch 0] 6))
  631.  
  632. (put (quote save-window-excursion) (quote byte-compile) (quote byte-compile-save-window-excursion))
  633.  
  634. (defun byte-compile-save-window-excursion (form) (byte-code "ÂÃÄAB!C!ˆ    S‰ˆÅÆÇ\"‡" [form byte-compile-depth byte-compile-push-constant byte-compile-top-level progn byte-compile-out byte-save-window-excursion 0] 5))
  635.  
  636. (put (quote unwind-protect) (quote byte-compile) (quote byte-compile-unwind-protect))
  637.  
  638. (defun byte-compile-unwind-protect (form) (byte-code "ÂÃÄAAB!C!ˆ    S‰ˆÅÆÇ\"ˆÈA@!ˆ    S‰ˆÅÉÊ\"‡" [form byte-compile-depth byte-compile-push-constant byte-compile-top-level progn byte-compile-out byte-unwind-protect 0 byte-compile-form byte-unbind 1] 7))
  639.  
  640. (put (quote condition-case) (quote byte-compile) (quote byte-compile-condition-case))
  641.  
  642. (defun byte-compile-condition-case (form) (byte-code "ÅA@!ˆÅÆÇ8!!ˆAAAÈ    …3    @ @ÆÉ AB!D
  643. B‰)ˆ    A‰ˆ‚ˆÅÊ
  644. !!*ˆ ËZ‰ˆÌÍÎ\"‡" [form clauses compiled-clauses clause byte-compile-depth byte-compile-push-constant byte-compile-top-level 2 nil progn nreverse 3 byte-compile-out byte-condition-case 0] 9))
  645.  
  646. (defun byte-compile-make-tag nil (byte-code "ÀÀB‡" [nil] 2))
  647.  
  648. (defun byte-compile-out-tag (tag) (byte-code "    @à   
  649. \"ˆ…Ä@
  650. \"ˆA‰ˆ‚)‡" [uses tag byte-compile-pc setcar byte-compile-store-goto] 5))
  651.  
  652. (defun byte-compile-goto (opcode tag) (byte-code "ÃÄ\"ˆÅ    @!ƒÆ
  653.     @\"‚Ç    
  654.     @B\"ˆ
  655. È\\‰‡" [opcode tag byte-compile-pc byte-compile-out 0 integerp byte-compile-store-goto setcar 2] 7))
  656.  
  657. (defun byte-compile-store-goto (at-pc to-pc) (byte-code "    Ã
  658. Ä\"BB‰ˆ    TÅ
  659. Æ\"BB‰‡" [byte-compile-output at-pc to-pc logand 255 lsh -8] 5))
  660.  
  661. (defun byte-compile-out (opcode offset) (byte-code "Â!‰ˆ    ÃWƒÄ    \\!‚9    ÅWƒ&ÄÃ\\!ˆÄ    !‚9ÄÆ\\!ˆÄÇ    È\"!ˆÄÉ    Ê\"!‡" [opcode offset eval 6 byte-compile-out-1 256 7 logand 255 lsh -8] 11))
  662.  
  663. (defun byte-compile-out-const (offset) (byte-code "    WƒÄ
  664. \\!‚Ä !ˆÄÅÆ\"!ˆÄÇÈ\"!‡" [offset byte-constant-limit byte-constant byte-constant2 byte-compile-out-1 logand 255 lsh -8] 8))
  665.  
  666. (defun byte-compile-out-1 (code) (byte-code "    
  667. BB‰ˆ    T‰‡" [byte-compile-output byte-compile-pc code] 2))
  668.  
  669. (defun batch-byte-compile nil "\
  670. Runs byte-compile-file on the files remaining on the command line.
  671. Must be used only with -batch, and kills emacs on completion.
  672. Each file will be processed even if an error occurred previously.
  673. For example, invoke \"emacs -batch -f batch-byte-compile $emacs/ ~/*.el\"" (byte-code "?…ÁÈ!ˆÂ …†ÉÊ @!!ƒrË @! …nÌÍ @\"…XÎ @!?…XÊ @ @\"‰…XÏ!ÐP‰…XÑ!…XÒ\"…eÓ!?…eljˆ A‰ˆ‚\"+‚}Ó @!?…}ljˆ A‰ˆ‚ ˆÔÕ!ˆÖ    ƒ”ׂ•Ø!)‡" [noninteractive error nil command-line-args-left files source dest t "batch-byte-compile is to be used only with -batch" file-directory-p expand-file-name directory-files string-match ".el$" auto-save-file-name-p file-name-sans-versions "c" file-exists-p file-newer-than-file-p batch-byte-compile-file message "Done" kill-emacs 1 0] 15))
  674.  
  675. (defun batch-byte-compile-file (file) (byte-code "ÀÁ‡" [err (byte-code "Â!ˆÁ‡" [file t byte-compile-file] 2) ((error (byte-code "ÃAƒ
  676. Ă Å    @ÆNÇA!$ˆÂ‡" [err file nil message ">>Error occurred processing %s: %s (%s)" ">>Error occurred processing %s: %s" error-message prin1-to-string] 6)))] 3))
  677.